package com.apartment.own.request.res;


import com.apartment.own.domain.OwnResArticleInventory;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @program: HousingRental_tenant_Server_JAVA
 * @description: 物品模板DTO
 * @author: @Dog_E
 * @create: 2020-09-08 13:48
 **/
@Data
@ApiModel
public class ResArticleTemplateDTO {

    /**
     * ID
     */
    @ApiModelProperty("ID")
    private String id;

    /**
     * 模板名称
     */
    @ApiModelProperty("模板名称")
    @NotNull
    private String templateName;

    /** 租房类型  */
    @ApiModelProperty("租房类型")
    @NotNull
    private String templateType;
    /**
     * 房间物品
     */
    @ApiModelProperty("房间物品")
    private List<OwnResArticleInventory> roomItems;
    /**
     * 公共物品
     */
    @ApiModelProperty("公共物品")
    private List<OwnResArticleInventory> publicGoods;

}
